package com.itlong.cloud.enumerate.ecode;

import lombok.Getter;
import lombok.Setter;

/**
* <desc>
*    物业管理系统错误码定义.
* </desc>
*
* @createDate 2017-09-21
*/
public enum  PropertyErrorCodeEnum {

    /*
    *mainCode为3表示物业模块错误，subCode可用范围为1至999；
    */
    /*物业系统公用  subCode可用范围为1~99*/
    PUB_PROJECT_ID_EMPTY_ERR(3,1,"项目编号不能为空"),
    PUB_ACCOUNT_PASSWORD_EMPTY_ERR(3,2,"用户名或密码不能为空"),
    PUB_LOGINUSERID_TOKEN_EMPTY_ERR(3,3,"loginUserId或token不能为空"),
    PUB_ACCOUNT_PASSWORD_ERR(3,4,"账号或密码错误，请重新输入"),
    PUB_PROJECT_ROLE_ERR(3,5,"该用户没有登录权限"),
    //PUB_PROJECT_ROLE_ERR(3,5,"该用户账号已禁用"),
    PUB_LOGOUT_FAIL(3,6,"注销失败，请检查loginUserId或token"),
    PUB_CHECK_TOKEN_FAIL(3,7,"账号长时间未操作"),
    PUB_PROJECT_ID_IS_ILLEGAL(3,8,"不合法的项目编号"),
    PUB_DATADICTIONARY_CODETYPE_EMPTY_ERR(3,9,"数据字典类型不能为空"),
    PUB_LOGIN_ROLE_FUNCTIONID_ILLEGAL(3,10,"查询按钮时角色和菜单ID不能为空"),
    PUB_LOGIN_PARAMS_IS_EMPTY(3,11,"认证参数异常"),
    PUB_LOGIN_PROJECT_STATUS_IS_UNABLE(3,12,"当前项目被禁用，暂时无法登录，请联系客服"),
    PUB_LOGIN_ACCOUNT_STATUS_IS_BAN(3,13,"该物业账号被禁用，暂时无法登录，请联系客服"),
    PUB_LOGIN_ROLE_STATUS_IS_UNABLE(3,14,"该物业角色已被禁用，请联系管理员"),
    PUB_LOGIN_ERROR_ACCOUNT_LOCKED(3,15,"登陆错误次数超过最大限制,账号暂时被锁定，请稍后重试"),
    PUB_LOGIN_ACCOUNT_STATUS_IS_DELETE(3,16,"帐号已被删除，请联系管理员"),
    PUB_LOGIN_ACCOUNT_IS_NOT_EXIST(3,17,"账号或密码错误，请重新输入"),
    PUB_LOGIN_MENU_IS_NULL(3,18,"账号暂无菜单权限"),
    PUB_ACCOUNT_REMOTE_LOGIN(3,19,"您的账号已在其他设备登录，如非本人操作，请重新登录修改密码！"),
    PUB_PROJECT_BATCH_ERROR(3,20,"项目正在执行批量迁入，请稍后再试"),
    /*项目地址 subCode可用范围为100~199*/
    PROJECT_BUILD_NAME_EMPTY_ERR(3,101,"楼栋名称不能为空"),
    PROJECT_BUILD_ID_EMPTY_ERR(3,102,"楼栋ID不能为空"),
    PROJECT_UNITS_COUNT_ERR(3,103,"单个楼栋下的单元数非法"),
    PROJECT_UNIT_NAME_EMPTY_ERR(3,104,"单元名称不能为空"),
    PROJECT_UNIT_ID_EMPTY_ERR(3,105,"单元ID不能为空"),
    PROJECT_ROOM_NAME_EMPTY_ERR(3,106,"房屋名称不能为空"),
    PROJECT_ROOM_ID_EMPTY_ERR(3,107,"房屋ID不能为空"),
    PROJECT_IMPORT_FILE_LOST_ERR(3,108,"导入文件缺失"),
    PROJECT_EXPORT_FILE_LOST_ERR(3,109,"导出文件缺失"),
    PROJECT_IMPORT_FILE_TYPE_ERR(3,110,"导入文件类型错误,仅支持Excel(*.xls)文件"),
    PROJECT_IMPORT_ROWS_TOO_MANY_ERR(3,111,"单次导入的房屋信息暂不支持大于%s条,请拆分多个文件进行导入"),
    PROJECT_EXCEL_COLUMN_COUNT_MISMATCH_ERR(3,112,"您导入的表格不符合模板规则，请下载模板后重新导入"),
    PROJECT_EXCEL_COLUMN_TITLE_MISMATCH_ERR(3,113,"导入的房屋信息列信息不符合要求,%s 实际应为: %s"),
    PROJECT_EXCEL_FILE_TOO_MANY_ERR(3,114,"目前最多仅支持1个文件的导入"),
    PROJECT_BUILD_NUM_INVALID_ERR(3,115,"楼栋编号非法"),
    PROJECT_BUILD_NAME_LENGTH_ERR(3,116,"楼栋名称过长"),
    PROJECT_UNIT_NUM_INVALID_ERR(3,117,"单元编号非法"),
    PROJECT_UNIT_NAME_LENGTH_ERR(3,118,"单元名称过长"),
    PROJECT_UNIT_ALIAS_INVALID_ERR(3,119,"单元代号非法"),
    PROJECT_ROOM_NUM_INVALID_ERR(3,120,"房号非法"),
    PROJECT_ROOM_ALIAS_INVALID_ERR(3,121,"访客呼叫码非法"),
    PROJECT_LIFT_DOOR_TYPE_INVALID_ERR(3,122,"电梯正背门类型非法"),
    PROJECT_ROOM_REMARK_LENGTH_ERR(3,123,"房屋备注信息过长"),
    PROJECT_UNIT_ALIAS_SHOUD_BE_ERR(3,124,"单元代号不能是9999"),
    PROJECT_IMPORT_FILE_INFO_INVALID_ERR(3,125,"导入的房屋信息存在非法数据"),
    PROJECT_BUILD_NAME_MISMATCH_ERR(3,126,"相同楼栋编号对应不同的楼栋名称,可能应为:%s"),
    PROJECT_UNIT_NAME_MISMATCH_ERR(3,127,"相同单元编号对应不同的单元名称,可能应为:%s"),
    PROJECT_ROOM_NUM_REPEAT_ERR(3,128,"房号已被当前单元下的其它房屋占用"),
    PROJECT_UNIT_ALIAS_MISMATCH_ERR(3,129,"相同单元名称对应不同的单元代号"),
    PROJECT_TMPLATE_FILE_PATH_NOT_EXISTS_ERR(3,130,"模板文件不存在"),
    PROJECT_GROUND_FLOOR_NUM_ERR(3,131,"地面楼层数非法"),
    PROJECT_UNDERGROUND_FLOOR_NUM_ERR(3,132,"地下楼层数非法"),
    PROJECT_FLOOR_NUM_ERR(3,133,"地面楼层数和地下楼层数之和不能大于99"),
    PROJECT_BUILD_NAME_REPEAT_ERR(3,134,"楼栋名称已被占用"),
    PROJECT_BUILD_INFO_NOT_EXISTS_ERR(3,135,"楼栋信息不存在"),
    PROJECT_BUILD_HAS_ROOM_UPDATE_ERR(3,136,"楼栋下存在房屋，不允许修改地面楼层数或地下楼层数"),
    PROJECT_BUILD_HAS_ROOM_DELETE_ERR(3,137,"楼栋下存在房屋，不允许删除"),
    PROJECT_UNIT_NAME_REPEAT_ERR(3,138,"单元名称已被当前楼栋下的其它单元占用"),
    PROJECT_UNIT_ALIAS_REPEAT_ERR(3,139,"单元代号已被占用"),
    PROJECT_UNIT_INFO_NOT_EXISTS_ERR(3,140,"单元信息不存在"),
    PROJECT_ROOM_INFO_NOT_EXISTS_ERR(3,141,"房屋信息不存在"),
    PROJECT_UNIT_HAS_ROOM_DELETE_ERR(3,142,"单元下存在房屋，不允许删除"),
    PROJECT_ROOM_NUM_EMPTY_ERR(3,143,"房号不能为空"),
    PROJECT_ROOM_ALIAS_REPEAT_ERR(3,144,"访客呼叫码已被当前单元下的其它房屋占用"),
    PROJECT_ROOM_HAS_USER_DELETE_ERR(3,145,"房屋下存在住户，不允许删除"),
    PROJECT_IMPORT_FILE_NO_DATA_ERR(3,146,"导入到文件没有地址信息"),
    PROJECT_IMPORT_TOO_MANY_BUILD_ERR(3,147,"楼栋数量已达上限"),
    PROJECT_IMPORT_TOO_MANY_UNIT_ERR(3,148,"当前楼栋下的单元数量已达上限"),
    PROJECT_BUILD_REMARK_LENGTH_ERR(3,149,"楼栋备注信息过长"),
    PROJECT_NO_ROOM_INFO_ERR(3,150,"选择的楼栋下没有房屋信息可以导出"),
    PROJECT_PROPERTY_INFO_ID_EMPTY_ERR(3,151,"物业信息编号不能为空"),
    PROJECT_PROPERTY_INFO_TYPE_INVALID_ERR(3,152,"物业信息类型非法"),
    PROJECT_PROPERTY_INFO_TITLE_EMPTY_ERR(3,153,"物业信息标题不能为空"),
    PROJECT_PROPERTY_INFO_EMPTY_ERR(3,154,"物业信息不能为空"),
    PROJECT_PROPERTY_REPLY_INFO_INVALID_ERR(3,155,"物业回复信息内容非法"),
    PROJECT_ROOM_INFO_NOT_NULL(3,156,"房屋信息不能为空"),
    PROJECT_EXPORT_FILE_SAVE_ERR(3,157,"导出文件保存失败"),
    PROJECT_ROOM_PHONE_CALL_ORDER_EMPTY_ERR(3,158,"房屋被呼号码排序信息不能为空"),
    PROJECT_ROOM_PHONE_CALL_ORDER_INVALID_ERR(3,159,"房屋被呼号码排序信息非法"),
    PROJECT_ENGINEER_CODE_FORMAT_INVALID_ERR(3,160,"云对讲工程密码最长为6位数字"),
    PROJECT_PROPERTY_INFO_TITLE_LENGTH_INVALID_ERR(3,161,"物业信息标题最长30个字"),
    PROJECT_PROPERTY_AUTH_MAX_NUM_INVALID_ERR(3,162,"小区最大授权数为3~10之间"),
    PROJECT_ZERO_ROOM_NUM_INVALID_ERR(3,163,"房号为0000的房间访客呼叫码必须为0000"),
    PROJECT_ZERO_ROOM_ALIAS_INVALID_ERR(3,164,"访客呼叫码为0000的房号必须为0000"),
    PROJECT_IMPORT_TOO_MANY_ROOM_ERR(3,165,"当前单元下的房屋数量已达上限"),
    PROJECT_IMPORT_FILE_CONTENT_TYPE_ERR(3,166,"导入文件内容包含特殊字符，请重新编辑内容后上传"),
    PROJECT_BUILD_NAME_CONTAIN_EMOJI_ERR(3,167,"楼栋名称包含表情符号,请重新输入"),
    PROJECT_UNIT_NAME_CONTAIN_EMOJI_ERR(3,167,"楼栋名称包含表情符号,请重新输入"),
    PROJECT_REMARK_CONTAIN_EMOJI_ERR(3, 168,"备注包含表情符号，请重新输入"),
    /*设备 subCode可用范围为200~299*/
    EQUIP_DEVICEID_IS_ILLEGAL(3,201,"不合法的设备机号"),
    EQUIP_ELEVATOR_DEVICEID_OUT_RANGE(3,202,"电梯机号在1~384之间!"),
    EQUIP_ENTRANCE_DEVICEID_OUT_RANGE(3,203,"门禁机号在1~2048之间!"),
    EQUIP_CLOUDINTERCOM_DEVICEID_OUT_RANGE(3,204,"云对讲机号在1~2048之间!"),
    EQUIP_DEVICEUNIQUE_NOT_NULL(3,205,"设备唯一码不能为空"),
    EQUIP_DEVICETYPE_IS_ILLEGAL(3,206,"设备类型不合法"),
    EQUIP_ELEVATORFLOOR_NOT_NULL(3,207,"电梯服务楼层数不能为空"),
    EQUIP_ELEVATORFLOOR_OUT_RANGE(3,208,"电梯服务总层数超过限制"),
    EQUIP_MEDIAID_NOT_NULL(3,209,"多媒体Id不能为空"),
    EQUIP_SERVER_ADDR_IS_ILLEGAL(3,210,"请检查设备归属地址个数限制"),
    EQUIP_CLOUDINTERCOM_SMARTTYPE_IS_ILLEGAL(3,211,"云对讲设备类型不合法"),
    EQUIP_DEVICEID_IS_EXIST(3,212,"该设备机号已存在"),
    EQUIP_DEVICENAME_IS_EXIST(3,213,"该设备名称已存在"),
    EQUIP_PROJECT_IS_NOT_SMARTCOMMUNITY(3,214,"该项目未启用云对讲"),
    EQUIP_PROJECT_IS_NOT_CLOUDELEVATOR(3,214,"该项目未启用云电梯"),
    EQUIP_ELEVATOR_FLOOR_IS_ILLEGAL(3,215,"电梯最小楼层不能大于最大楼层"),
    EQUIP_ADDRESS_MAP_IS_ILLEGAL(3,216,"该楼栋下包含了不属于该楼栋的单元"),

    EQUIP_MEDIA_RESOURCE_EMPTY_ERR(3,215,"多媒体资源不能为空"),
    EQUIP_MEDIA_TYPE_INVALID_ERR(3,216,"多媒体资源格式不合法"),
    EQUIP_MEDIA_UPLOAD_ERR(3,217,"多媒体资源上传到服务器失败"),
    EQUIP_MEDIA_SORT_INVALID_ERR(3,218,"多媒体资源类型不合法"),
    EQUIP_MEDIA_GATE_BIND_ADDRESS_EMPTY_ERR(3,219,"门口机多媒体资源必须绑定地址"),
    EQUIP_MEDIA_WALL_BIND_DEVICE_EMPTY_ERR(3,220,"围墙机多媒体资源必须绑定围墙机设备"),
    EQUIP_MEDIA_NOT_EXISTS_ERR(3,221,"多媒体资源不存在"),
    EQUIP_MEDIA_BIND_ADDRESS_INVALID_ERR(3,222,"多媒体资源绑定的地址信息格式非法"),
    EQUIP_MEDIA_BIND_DEVICE_INVALID_ERR(3,223,"多媒体资源绑定的设备信息格式非法"),
    EQUIP_MEDIA_TITLE_NOT_EMPTY_ERR(3,224,"多媒体资源标题不能为空"),
    EQUIP_MEDIA_TITLE_TOO_LONG_ERR(3,225,"多媒体资源标题过长"),
    EQUIP_MEDIA_TEXT_NOT_EMPTY_ERR(3,226,"多媒体资源文字内容不能为空"),
    EQUIP_MEDIA_TEXT_TOO_LONG_ERR(3,227,"多媒体资源文字内容过长"),
    EQUIP_MEDIA_IMAGE_TYPE_INVALID_ERR(3,228,"多媒体资源图片不是合法的PNG格式"),

    EQUIP_DEVICEUNIQUE_IS_EXIST(3,229,"该设备已存在,请勿重复添加"),
    EQUIP_MEDIA_VIDEO_RESOLUTION_RATIO_BEYOND(3,230,"多媒体视频的分辨率需小于或等于1920*1080"),
    EQUIP_MEDIA_TYPE_IS_NOT_VIDEO(3,231,"多媒体视频解析异常"),
    EQUIP_MEDIA_VIDEO_FORMAT_NOT_SUPPORT(3,232,"为保证页面视频预览正常，请使用MP4格式的视频"),
    CLOUD_ELEVTAOR_IS_NOT_TYPE_ID(3,233,"云电梯未有产品型号信息"),
    EQUIP_STANDBYINTEFACE_IMAGE_EMPTY_ERR(3,234,"所上传图片不能为空"),
    EQUIP_STANDBYINTEFACE_IMAGE_TYPE_ERR(3,235,"所上传图片的格式应为png或jpg"),
    EQUIP_STANDBYINTEFACE_IMAGE_UPLOAD_ERR(3,236,"图片上传到服务器失败"),
    EQUIP_ELEVATOR_FLOOR_INFO_EMPTY(3,237,"重置楼层映射表信息不能为空"),
    EQUIP_ELEVATOR_IS_BING_CLOUD_CONTROLLER(3,238,"该电梯已被群控器关联，系统检查到您修改了楼栋单元信息，保存失败！请先解除设备绑定后再进行修改。"),
    CLOUD_ELEVATOR_IS_BING_CLOUD_CONTROLLER(3,239,"设备类型修改失败，请先解除该设备与云群控器绑定关系！"),
    EQUIP_IS_NOT_ALLOWED_MAKE_ERR(3,240,"设备已被禁用或删除不允许被实时抓拍或撤消告警"),
    CLOUD_ELEVATOR_OUT_LINE(3,241,"当前云电梯不在线！"),
    AI_CAMERA_IP_ERROR(3,242,"AI摄像头IP格式不正确！"),
    AI_CAMERA_BIND_ELEVATOR_ERROR(3,243,"所绑电梯设备已被绑定！"),
    /*APP用户 subCode可用范围为300~399*/
    SAVE_USERINFO_ERR(3,301,"保存用户信息出错"),
    SAVE_USERPROJECTINFO_ERR(3,302,"保存用户项目信息出错"),
    SAVE_USERROOMINFO_ERR(3,303,"保存用户房间信息出错"),
    INSPECT_USERINFO_EXIST(3,304,"该用户已存在，不能重复添加"),
    APPUSER_PHONENUM_NOT_NULL(3,305,"用户手机号不能为空"),
    APPUSER_REALNAME_NOT_NULL(3,306,"用户姓名不能为空"),
    APPUSER_USERROOM_NOT_NULL(3,307,"用户房间信息不能为空"),
    APPUSER_CHOICEUSER_NOT_NULL(3,308,"未选择需要查看的用户"),
    APPUSER_USERROOMSTATUS_NOT_NULL(3,309,"缺少有效的用户房间关系状态"),
    APPUSER_USERREMEVO_NOT_NULL(3,310,"请选择需要迁出的用户"),
    APPUSER_USERMEVOIN_NOT_NULL(3,311,"请选择需要迁入的用户"),
    APPUSER_USERINFO_NOT_NULL(3,312,"用户信息不能为空"),
    APPUSER_EXAMINEUSER_NOT_NULL(3,313,"请选择要审核的用户"),
    APPUSER_EXAMINEUSER_ERR(3,314,"审核用户的信息不能为空"),
    APPUSER_PHONENUM_ERR(3,315,"非法的用户手机号"),
    APPUSER_USERPROJECT_NOT_NULL(3,316,"请选择用户所属小区"),
    APPUSER_USERPROJECTSTATUS_NOT_NULL(3,317,"请选择要操作的用户"),
    USERPROJECTSTATUS_STATUS_NOT_NULL(3,318,"缺少有效的用户项目关系状态"),
    DEL_USERROOMINFO_ERR(3,319,"删除用户房间有误，请稍后重试"),
    APPUSER_DEVICEAUTH_NOT_NULL(3,320,"请选择要操作的设备"),
    APPUSER_DEVICEAUTH_ERR(3,321,"获取用户设备权限出错"),
    APPUSER_ROOM_NOT_NULL(3,322,"要操作的房间信息不能为空"),
    APPUSER_HOUSERTYPE_NOT_NULL(3,323,"住户身份信息不能为空"),
    APPUSER_ROOMINFO_NULL(3,324,"该住户无房间地址信息"),
    APPUSER_DEVICEINFO_ERR(3,325,"设备信息不能为空"),
    APPUSER_DEVICEINFO_ELEVATOR_FLOOR_ERR(3,326,"电梯设备的楼层信息不能为空"),
    APPUSER_AUTHMAXNUM_FILL(3,327,"该房间住户人数已达上限"),
    APPUSER_USERPROJECTSTATUS_FROZEN(3,328,"该用户已被冻结，请在启用状态下进行操作"),
    APPUSER_CREATEBAIDUFACE_NOT_NULL(3,329,"人脸信息不能为空"),
    APPUSER_USERID_NOT_NULL(3,330,"用户ID不能为空"),
    APPUSER_IMAGETER_NOT_NULL(3,331,"图片内容不能为空"),
    APPUSER_IMAGETYPE_NOT_NULL(3,332,"图片类型不能为空"),
    APPUSER_FACE_RESULTNUM_NOT_1(3,333,"图片含多张人脸，请重新上传"),
    APPUSER_FACE_FACELIVENESS_TOO_LOW(3,334,"图片不符合规范或二次翻拍，请重新上传"),
    APPUSER_FACE_OCCLUSION(3,335,"图片部分人脸被遮挡，请重新上传"),
    APPUSER_FACE_BLUR_TOO_LOW(3,336,"图片内容模糊，请重新上传"),
    APPUSER_FACE_ILLUMINATION_TOO_LOW(3,337,"图片光线过暗，请重新上传"),
    APPUSER_FACE_ANGLE_NOT_STRAIGHT(3,338,"图片人脸角度不正，请重新上传"),
    APPUSER_FACE_COMPLETENESS_IMPERFECT(3,339,"图片人脸不完整，请重新上传"),
    APPUSER_FACEVERFY_ERROR(3,340,"人脸图片验证异常"),
    APPUSER_CREATE_FACE_REPEAT(3,341,"该人脸已被注册，请重新上传"),
    APPUSER_IDENTIFY_ERROR(3,342,"人脸对比验证异常"),
    APPUSER_BAIDU_BUSY(3,343,"系统繁忙,请重试"),
    APPUSER_BAIDU_PICTURE_ERROR(3,344,"图片未检测到人脸或为非真人脸"),
    ENTRANCE_IS_NOT_TYPE_ID(3,345,"门禁未有产品型号信息"),
    EQUIP_COUNT_PROJECT_IS_ZERO(3,346,"添加或修改失败，由于云服务费设备数量已超过最大授权数量！"),
    EQUIP_COUNT_PROJECT_IS_LESS(3,347,"添加或修改失败，您添加或修改的设备数量已超过该批次号最大授权数量！"),
    APPUSER_FACE_SIZE_TOO_SMALL(3,348,"图片人脸太小，请重新上传"),
    APPUSER_FACE_RESOLUTION_RATIO_ERROR(3,349,"图片分辨率不得小于640*480, 大于2560*2560"),
    APPUSER_FACE_ILLUMINATION_TOO_HIGH(3,350,"图片光线过亮，请重新上传"),
    EQUIP_COUNT_PROJECT_IS_ZERO_BY_MODIFY(3,351,"恢复失败，由于云服务费设备数量已超过最大授权数量！"),
    USER_ADDRESS_IS_NOT_EXIT(3,352,"您所编辑的楼栋单元房间信息有误"),
    APPUSER_IS_NOT_EXIST_ERROR(3,353,"该用户在该项目中不存在"),

    /*物业用户 subCode可用范围为400~499*/
    USER_GROUP_GROUPNAME_EXIST(3,400,"该项目中该部门已经存在"),
    USER_GROUP_GROUPID_NOT_NULL(3,401,"部门ID不能为空"),
    USER_ROLE_ROLEID_NOT_NULL(3,402,"角色ID不能为空"),
    USER_ROLE_ROLENAME_EXIST(3,403,"该项目中该角色已经存在"),
    USER_USER_USERNAME_ILLEGAL(3,404,"物业账号不合法"),
    USER_USER_USERNAME_EXIST(3,405,"物业账号已经存在"),
    USER_USER_GROUPID_ROLEID_EXIST(3,406,"物业部门或角色ID不能为空"),
    USER_USER_USERID_NOT_NULL(3,407,"用户ID不能为空"),
    USER_USER_PASSWORD_ERROR(3,408,"旧密码输入错误"),
    USER_USER_PASSWORD_NOT_NULL(3,409,"用户密码不能为空"),
    USER_USER_PASSWORD_SAME(3,410,"新旧密码不能相同"),
    USER_USER_NAME_IS_ILLEGAL(3,411,"物业帐号不合法"),
    USER_GROUPID_IS_BAN_OR_NOT_EXIST(3,412,"该部门被禁用或不存在"),
    USER_ROLEID_IS_BAN_OR_NOT_EXIST(3,413,"该角色被禁用或不存在"),
    EQUIP_MEDIA_INFO_BIND_EMPTY_ERR(3,414,"多媒体资源必须绑定围墙机或地址或人脸识别设备"),
    EQUIP_MEDIA_INFO_PUT_TIME_EMPTY_ERR(3,415,"多媒体资源投放时间不能为空"),
    EQUIP_MEDIA_INFO_PUT_TIME_AVAILABLE_ERR(3,416,"多媒体资源投放时间区间无效"),
    EQUIP_MEDIA_BIND_INVALID_ERR(3,417,"多媒体资源绑定的地址或设备信息格式非法"),
    MEDIA_INFO_SEARCH_CREATE_TIME_AVAILABLE_ERR(3,418,"多媒体资源查询条件创建时间区间无效"),
    MEDIA_ID_EMPTY_ERROR(3,419,"多媒体资源id不能为空"),
    MEDIA_EQUIP_TYPE_EMPTY_ERR(3,420,"多媒体资源设备类型不能为空"),
    MEDIA_CHILDREN_TYPE_EMPTY_ERR(3,421,"多媒体资源平板人脸识别类别不能为空"),
    PROJECT_BUILD_NUM_EMPTY_ERR(3,422,"楼栋编号不能为空"),
    PROJECT_UNIT_NUM_EMPTY_ERR(3,423,"单元编号不能为空"),
    PROJECT_UNIT_NUM_EXIST_ERR(3,424,"该楼栋下单元编号已经存在"),
    PROJECT_BUILD_NUM_EXIST_ERR(3,425,"该项目下楼栋编号已经存在"),
    VISITOR_INFO_NOT_EXIST_ERR(3,426,"该访客记录不存在"),
    VISITOR_SEND_MESSAGE_ERR(3,427,"该访客重新发送短信已超过三条"),
    VISITOR_SEND_MESSAGE_FAILED(3,428,"访客重新发送短信失败，请重新发送"),
    PROJECT_BUILD_NUM_UPDATE_ERR(3,429,"楼栋编号不允许修改"),
    PROJECT_UNIT_NUM_UPDATE_ERR(3,430,"单元编号不允许修改"),
    PROJECT_FEERULEID_EMPTY_ERR(3,431,"收费规则编号不允许为空"),
    TIME_AVAILABLE_ERR(3,432,"时间区间无效"),
    PROJECT_MESSAGE_INFO_EMPTY_ERR(3,433,"短信信息不允许为空"),
    PROJECT_FEEID_EMPTY_ERR(3,434,"缴费账单编号不允许为空"),
    PROJECT_PAYMENTTYPE_EMPTY_ERR(3,435,"收费方式不允许为空"),
    PROJECT_ACCOUNT_IS_NULL_ERR(3,436,"无此账单信息"),
    PROJECT_ACCOUNT_IS_PAYMENT_ERR(3,437,"此账单已被支付"),
    PROJECT_RULE_NAME_EMPTY_ERR(3,438,"命名规则不允许为空"),
    PROJECT_FEE_TYPE_EMPTY_ERR(3,439,"收费类型不允许为空"),
    PROJECT_FEE_CYCLE_EMPTY_ERR(3,440,"收费周期不允许为空"),
    PROJECT_FEE_DAY_EMPTY_ERR(3,441,"收费日不允许为空"),
    PROJECT_CALCULATE_TYPE_EMPTY_ERR(3,442,"计算方式不允许为空"),
    PROJECT_FIXED_PRICE_EMPTY_ERR(3,443,"固定金额不允许为空"),
    PROJECT_MEASURE_TYPE_EMPTY_ERR(3,444,"计量方式不允许为空"),
    PROJECT_PRICE_TYPE_EMPTY_ERR(3,445,"单价不允许为空"),
    PROJECT_LADDER_FEE_EMPTY_ERR(3,446,"阶梯收费信息不允许为空"),
    REPAIR_STATUS_HAS_MODIFIED(3,447,"操作失败，该报修数据状态已被报修人操作"),
    EXPORT_DATA_EMPTY_ERR(3,448,"无数据可导出！"),
    PARKING_NUM_EXIST_ERR(3,449,"车位号已存在！"),
    PARKING_EXCEL_COLUMN_COUNT_MISMATCH_ERR(3,450,"您导入的表格不符合模板规则，请下载模板后重新导入"),
    PARKING_EXCEL_COLUMN_TITLE_MISMATCH_ERR(3,451,"导入的车位信息列信息不符合要求,%s 实际应为: %s"),
    PLATE_NUMBER_EXIST_ERR(3,452,"车牌号已存在！"),
    CAR_EXCEL_COLUMN_COUNT_MISMATCH_ERR(3,453,"您导入的表格不符合模板规则，请下载模板后重新导入"),
    CAR_EXCEL_COLUMN_TITLE_MISMATCH_ERR(3,454,"导入的车辆信息列信息不符合要求,%s 实际应为: %s"),
    UPLOAD_IMAGE_ERR(3,455,"图片上传到服务器失败"),
    PROJECT_CARD_KEY_EMPTY_ERR(3,456,"身份证序号不允许为空"),
    PROJECT_IDCARD_KEY_IS_BINDING_ERR(3,457,"该身份证已绑定"),
    IMPORT_FILE_INFO_INVALID_ERR(3,458,"导入的信息存在非法数据"),
    PARKING_NUM_NOT_EXIST_ERR(3,459,"车位号不存在！"),
    CAR_TYPE_AVAILABLE_ERR(3,460,"车辆类型不合法！"),
    BILL_IS_EXISTS(3,461,"当前所选月份所选房间已经录入过数据或已生成过账单！"),
    PROPERTY_FEE_EXCEL_COLUMN_COUNT_MISMATCH_ERR(3,462,"您导入的表格不符合模板规则，请下载模板后重新导入"),
    PROPERTY_FEE_EXCEL_COLUMN_TITLE_MISMATCH_ERR(3,463,"信息列信息不符合要求,%s 实际应为: %s"),
    RULE_IS_BINDING(3,464,"当前收费规则已被账单关联，请勿删除。"),
    ROOM_NOT_FIND_OWNER(3,465,"该房间下没有户主"),
    ROOM_IS_NOT_EXISTS(3,466,"导入数据的房间不存在"),
    RULE_IS_NOT_EXISTS(3,467,"收费规则不存在或收费规则与导入数据类型不匹配"),
    PROJECT_ADDRESS_BUILD_NUM_IMPORT_ERR(3,468,"该楼栋已存在时请勿填写楼栋编号"),
    PROJECT_ADDRESS_UNIT_NUM_IMPORT_ERR(3,469,"该单元已存在时请勿填写单元编号"),
    PARKING_NUM_CHINESE_ERR(3,470,"车位号支持输入字母、数字和符号，不可输入中文"),
    PARKING_NUM_LONG_ERR(3,471,"车位号长度不能超过10"),
    PARKING_AREA_ERR(3,472,"车位面积为整数或小数（整数不超过3位,小数点后不超过两位)"),
    REMARK_LONG_ERR(3,473,"备注过长"),
    ROOM_ACCOUNT_UNPAY(3,474,"该房间有未缴费账单,不能迁出"),
    BANK_CARD_EXISTS(3,478,"该银行卡账号已存在"),
    BANK_CARD_SEND_MESSAGE_COUNT_SURPASS(3,479,"短信发送频繁，请10分钟后再做尝试"),
    BANK_CARD_SEND_MESSAGE_EXISTS(3,480,"请发送验证码"),
    BANK_CARD_SEND_MESSAGE_ERROR(3,481,"验证码错误"),
    WITHDRAW_AMOUNT_EMPTY_ERR(3,482,"金额不允许为空"),
    WITHDRAW_BANKCARDID_EMPTY_ERR(3,483,"银行卡ID不允许为空"),
    WITHDRAW_CASHRULE_EMPTY_ERR(3,484,"提现规则不允许为空"),
    WITHDRAW_FUNCTIONSTATUS_EMPTY_ERR(3,485,"状态不允许为空"),
    WITHDRAW_PAYPASSWORD_EMPTY_ERR(3,486,"支付密码不允许为空"),
    WITHDRAW_PAYPASSWORD_WRONG_ERR(3,487,"支付密码不正确"),
    WITHDRAW_AMOUNT_WRONG_ERR(3,488,"项目可提现余额不足或实时余额数据异常"),
    WITHDRAW_RULEDATE_EMPTY_ERR(3,489,"提现日不允许为空"),
    PAY_PASSWORD_ERROR(3,490,"原支付密码输入错误"),
    PAY_PASSWORD_EXISTS(3,491,"支付密码和确认支付密码不匹配，请确认"),
    BANK_CARD_NOT_EXISTS(3,492,"该银行账户不存在"),
    WITHDRAW_USER_ROLE_ERR(3,493,"您没有权限使用该功能"),
    BANK_PHONE_ERROR(3,494,"请填写正确手机号"),
    CAR_BINDING_PARKING_ERR(3,495,"车辆最多只能关联6个车位"),
    PAY_PASSWORD_ALIKE(3,496,"新支付密码和原支付密码一致，请设置为不同的密码"),
    UNIONPAY_STATUS_WRONG_ERR(3,497,"银联支付暂时系统升级维护，请稍后再试"),
    PROPERTY_PAYMEN_ADDRESS_ERROR(3,498,"地址格式错误，应为楼栋-单元-房间号"),
    PROPERTY_PAYMENT_MONTH_ERROR(3,499,"不能生成月份大于或等于当前月份的账单!"),
    IMPORT_METER_INFO_TYPES_ERROR(3,500,"导入数据房间缺少类型，水费、电费、燃气费为必填项"),
    EXPORT_DATA_TOO_MANY_ERR(3,501,"一次导出的数据不得超过2000条"),
    PROPERTY_PAYMENT_ROOM_AREA_ERROR(3,502,"该房屋的建筑面积为空，不能添加物业费"),
    PROPERTY_CAN_NOT_WITHDRAW_ERROR(3,503,"财务提现功能暂时禁用，请稍后再试"),
    PROJECT_RULE_NAME_REPEAT_ERR(3,504,"收费规则名称不允许重复"),
    IMPORT_EXCEL_ERROR(3,505,"导入文件格式错误，请重新下载模板且不要更改模板内excel表格格式(如在非excel文档中复制内容粘贴)导入"),
    ROOM_BUILT_AREA_EMPTY_ERR(3,506,"房屋的建筑面积必须填写"),
    ROOM_BUILT_AREA_INVALID_ERR(3,507,"房屋的建筑面积格式非法，请输入非负整数或小数（最多支持小数点前8位后2位）"),
    PROPERTY_METERINFO_TYPE_ERROR(3,508,"抄表费类型错误"),
    PROPERTY_PAYMENT_MONTH_FORMAT_ERROR(3,509,"月份格式错误"),
    ROOM_AREA_IS_NULL(3,510,"房屋面积为空"),
    IMPORT_DATA_TOO_MANY_ERR(3,511,"单次导入数据不能超过1000条"),
    IMPORT_CAR_TOO_MANY_ERR(3,512,"单次导入车辆不能超过500条"),
    IMPORT_CAR_EXIST_EXCEL_ERR(3,513,"该车牌号在文档中存在重复"),
    IMPORT_PARKING_EXIST_EXCEL_ERR(3,514,"该车位号在文档中存在重复"),
    PROPERTY_PAYMENT_TYPE_INVALID_ERR(3,515,"收费方式格式错误"),
    PROPERTY_RENEW_MONTH_ERR(3,516,"月卡续费月份为1-24之间"),
    PROPERTY_PLATE_NUMBER_INVALID_ERR(3,517,"车牌号不合法"),
    PROPERTY_COUPON_TYPE_ERR(3,518,"优惠券类别错误"),
    PROPERTY_COUPON_COUNT_ERR(3,519,"优惠券单次最多创建200张"),
    PROPERTY_COUPON_OVERFLOW_ERR(3,520,"单项目未使用的优惠券最多10000张"),
    PROPERTY_COUPON_END_TIME_ERR(3,521,"优惠券有效期必须大于现在日期"),
    PROPERTY_COUPON_EXPORT_COUNT_ERR(3,522,"优惠券一次导出不得超过200条"),
    PROPERTY_MONTH_CARD_RULE_NAME_EXIST_ERR(3,523,"该月卡规则名称已经存在"),
    PROPERTY_COUPON_ALREADY_USE_ERR(3,524,"已领取或已使用的优惠券不可修改"),
    PROPERTY_RENEW_MONTH_CARD_ERR(3,525,"停车场设备通讯失败，请重试"),
    PROPERTY_CAR_IN_CARD_ERR(3,526,"删除的车辆中有月卡未到期，暂不支持删除"),
    APP_FUNCTION_LIMIT_EMPTY_ERR(3,527,"app功能限制不能为空"),
    ARREARAGE_DEVICE_DATE_EMPTY_ERR(3,528,"欠费设备联动生效时间不能为空"),
    INTERCOM_VISITOR_LIMIT_EMPTY_ERR(3,529,"云对讲访客限制不能为空"),
    ELEVATOR_FACE_LIMIT_EMPTY_ERR(3,530,"云电梯人脸限制不能为空"),
    INTERCOM_FACE_LIMIT_EMPTY_ERR(3,531,"云对讲人脸限制不能为空"),
    PAY_PASSWORD_NULL_ERROR(3,532,"银行卡未绑定，请至系统管理-提现银行卡管理页面进行银行卡绑定操作"),
    PROPERTY_HOUSEHOLD_ROLE_NAME_EXIST_ERR(3,533,"住户角色组名称已存在"),

    DELETE_DATA_RELATION_ERR(3,534,"该记录已有数据关联，无法执行删除操作！"),
    APP_USERS_USER_PROJECT_STATUS_FROZEN(3,535,"选择的用户中存在被冻结用户，请先解冻"),
    PROPERTY_VISITOR_CHECK(3,536,"待户主审批后，物业方可审批！"),
    DEVICE_CALL_STATUS_ERR(3,537,"数据提交失败，设备正在执行呼梯指令，请稍后重试！"),
    ARREARAGE_ROOM_EXIST_ERR(3,538,"该房间已经添加！"),
    ELEVATOR_FLOOR_CONFIG_DIFFERENT_ERR(3,539,"云电梯楼层对应表不一致"),
    PROJECT_WE_CHAT_AUTH_EXIST_ERR(3,540,"添加失败，系统暂不支持一个项目添加多个商户号！"),
    PROPERTY_USER_ADMIN_ERR(3,541,"该账号非物业管理员用户"),
    PHONE_NUM_EMPTY_ERR(3,542,"手机号不可为空"),
    MESSAGE_CODE_EMPTY_ERR(3,543,"请填写验证码"),
    USER_PASSWORD_DEFAULT_ERR(3,544,"请不要使用默认密码"),
    NOT_ALLOWED_CREATE_ORDER_ERR(3,545,"您还有未支付的线下支付账单，暂不能提交该账单！"),
    ORDER_NOT_EXIST_ERR(3,546,"该订单不存在！"),
    BILL_PAY_SUCCESS(3,547,"该账单已经支付成功，请勿重复支付"),
    PROJECT_CHARGE_MODE_ERR(3,548,"项目未开通收费模式"),
    EQUIP_CHARGE_MODE_ERR(3,549,"计次模式填写错误"),
    USER_ROOM_IS_EXISTS(3,550,"用户已迁入该房间"),
    PROPERTY_IMPORT_NAME_ERROR(3,551,"名称不能包含特殊字符"),
    PROPERTY_REAL_NAME_LENGTH_ERROR(3,552,"住户姓名字符长度超限"),
    PROPERTY_USER_IDENTITY_LENGTH_ERROR(3,553,"用户身份填写错误，请按导入文档规范填写"),
    PROPERTY_OWNER_EXISTS__ERROR(3,554,"房间户主已存在"),
    PROPERTY_REPEAT_REMOVE_ERROR(3,555,"请勿在excel中重复迁入人员"),
    PROPERTY_REPEAT_USER_REMOVE_ERROR(3,556,"用户已存在于房间中"),
    PROPERTY_REPEAT_OWNER_USER_REMOVE_ERROR(3,557,"请勿重复添加房屋户主，一个房间只能有一个户主"),
    ELEVATOR_COMMON_FLOOR_CONFIG_DIFFERENT_ERR(3,558,"云电梯公共楼层不一致"),
    ELEVATOR_MEAL_IS_USE_ERR(3,559,"该记录已被关联使用，删除失败！"),
    ELEVATOR_MEAL_TYPE_IS_USE_ERR(3,560,"当前活动套餐已使用"),
    ELEVATOR_MEAL_TYPE_IS_UNABLE_ERR(3,561,"该套餐不可用，请重新选择"),
    ELEVATOR_USER_IS_NOT_IN_ROOM_ERR(3,562,"您已不在当前房间中,请重新选择房间"),
    PROJECT_ADDRESS_UNIT_ALIAS_IMPORT_ERR(3,563,"该单元已存在时请勿填写单元代号"),
    PROJECT_ADDRESS_UNIT_NAME_IMPORT_ERR(3,564,"该单元已存在时请勿填写单元名称"),
    PROPERTY_AUTH_INFO_NOT_NULL_ERR(3,565, "物业信息不能为空"),
    /*物业巡检 subCode可用范围为600~699*/
    INSPECT_NAME_IS_EXIST_ERR(3,600,"名称已存在"),
    INSPECT_AREA_IS_RELATION_ERR(3,601,"巡检区域已被巡检点关联，不能删除或禁用"),
    INSPECT_POINT_IS_RELATION_ERR(3,602,"巡检点已被巡检路线关联，不能删除或禁用"),
    INSPECT_LINE_IS_RELATION_ERR(3,603,"巡检路线已被巡检计划关联，不能删除或禁用"),
    PROPERTY_HOUSEHOLD_ROLE_NAME_NOT_EXIST_ERR(3,604, "用户所属角色组不存在"),
    ;

    @Setter
    @Getter
    private ErrorCode errorCode = new ErrorCode();  // 错误码信息


    /**
    * <desc>
    *    无参构造函数.
    * </desc>
    *
    * @author LewisLouis
    * @createDate 2017-09-21
    */
    PropertyErrorCodeEnum(){}

    /**
    * <desc>
    *    主错误码与错误信息构造函数.
    * </desc>
    *
    * @param mainCode 主错误码
    * @param codeMsg 错误信息
    * @author LewisLouis
    * @createDate 2017-09-21
    */
    PropertyErrorCodeEnum(Integer mainCode, String codeMsg) {
        errorCode.setMainCode(mainCode);
        errorCode.setSubCode(0);
        errorCode.setCodeMsg(codeMsg);
    }

   /**
   * <desc>
   *    全参构造函数.
   * </desc>
   *
   * @param mainCode 主错误码
    * @param subCode 子错误码
    * @param codeMsg 错误信息
   * @author LewisLouis
   * @createDate 2017-09-21
   */
    PropertyErrorCodeEnum(Integer mainCode, Integer subCode, String codeMsg){
        errorCode.setMainCode(mainCode);
        errorCode.setSubCode(subCode);
        errorCode.setCodeMsg(codeMsg);
    }
}
